﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace WeFrame.AutoCode
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());


            //List<QueryParam> listParam = new List<QueryParam>();
            //QueryParam param = new QueryParam();

            //param.ParamName = "Title";
            //param.ParamValue = "%1%";
            //param.Operation = "like";
            //listParam.Add(param);

            //List<QueryOrder> listOrder = new List<QueryOrder>();
            //QueryOrder order = new QueryOrder();
            //order.OrderName = "id";
            //order.OrderWay = "desc";
            //listOrder.Add(order);

            //QueryPage queryPage = new QueryPage();
            //queryPage.PageIndex = 1;
            //queryPage.PageSize = 10;

            //List<CmsArticleEntity> list = CmsArticleDAL2.QueryCmsArticleList(listParam,listOrder,queryPage);

            //for (int i = 0; i < list.Count;i++ )
            //{
            //    CmsArticleEntity entity = list[i];
            //    Console.WriteLine(entity.Title);
            //}


            //Console.ReadLine();
            //Console.Write("hello world!"+list.Count);

        }
    }
}
